package note1.chapters.chapter5;

public class EnumTest {
	public static void main(String[] args) {
		Test t = new Test();
		for (Level l : Level.values()) {
			System.out.println(l + ":" + l.ordinal());
		}
	}
}

enum Level {
	good, middle, bad
}